<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<div class="span12 box-content">
	<div class="well">
		自动选题报告:一共有${totalStuCount }名学生未选题,成功为${successCount }名学生选题,选题结果如下<br/>
		<button class="btn btn-primary" onclick="window.location=document.referrer;">返回列表</button>
	</div>
	<table class="table table-striped table-bordered">
		<thead>
		 <tr>
		 	<th >学号</th>
		 	<th>姓名</th>
		 	<th>题目名称</th>
		 	<th>指导教师</th>
		 </tr>
		</thead>   
		<tbody>
		<c:forEach items="${successList }" var="r">
		<tr>
			<td>${r.stu.no }</td>
			<td>${r.stu.name }</td>
			<td>${r.prj.name }</td>
			<td>${r.prj.teacher.name }</td>
		</tr>
		</c:forEach>
		</tbody>
	</table>
</div>